﻿using System;
using FluentPS.Attributes;
using FluentPS.Consts;

namespace EntityMapping.Models
{
    public class User
    {
        [PSEntityUidField(ColumnName = ResourceCustomFieldsColumnNames.RES_UID)]
        public Guid Id { get; set; }

        [PSNativeField(ColumnName = ResourceCustomFieldsColumnNames.WRES_ACCOUNT, IsReadOnly = true)]
        public string UserAccount { get; set; }

        [PSCustomField("{fd6693ae-18d6-4af4-908d-bf1ed9220075}", "CustomUserField")]
        public string CustomUserField { get; set; }
    }
}
